<!DOCTYPE html>
<html>
<head>
<#include "/common/freemarker/include_css.ftl">
<#include  "/app/common/uploadimage/attachment.ftl">
<title>参数配置中心</title>
</head>

 
<body>
	<div class="panel panel-default">
	   <div class="panel-heading">
	       <div class="panel-title">参数配置中心</div>
	   </div>
	   <div clas="panel-body">
	      <div class="row">
	           <div class="col-md-12">
	               <br>
	               <form id="contentForm" class="form-horizontal"  action="<@context/>ued/tpltb3/save.do" method="POST"  >
	 
						 
	                    <div class="form-group">
	                    	<label class="col-md-2 control-label">活动报名人数限制 <font color="red"> *</font></label>
	                        <div class="col-md-9">
								<input type="text"  class="input-sm form-control required" id="prizeNumber" name="prizeNumber" value='${prizeNumber?if_exists}'      />
	                    	</div>              	
	                    </div> 
	                      
	                     
	                                                        
	                    <div class="form-group">
	                    	<div class="col-md-offset-2 col-md-10">
	                    		<input type="button" class="btn btn-sm btn-primary" id="submitBtn" value="提 交"/>
	                    	 
	                    	</div>
	                    </div>
	              </form>
	        </div>
	    </div>
	</div>
	<#--  公共js -->
	<#include "/common/freemarker/include_js.ftl">
	<#--  页面自己的js -->
	 
	<script>	
		$("#submitBtn").click(function() {
			  if(!$("#contentForm").valid()){
			    	 return;
			  }
			  
			  
 			  var mData = $("#contentForm").serialize();
	 		  $.ajax({
		         type:"POST",
		         url: "<@context/>ued/zookeeper/submitConfData.do",
		         data:mData,
		         cache: false,
		         dataType:"json",
		         success: function(json){
		        	 alert(json.message);
		          }
	 		 });
		})
		 
	</script>
 
</body>
</html>

 

